package cobersky.skinUI.skins.buttons
{
	import cobersky.skinUI.skins.GlobalSkinManager;
	import cobersky.skinUI.skins.core.IButtonSkin;
	import cobersky.skinUI.skins.graphics.Rect;
	
	import flash.display.DisplayObject;
	import flash.geom.Rectangle;

	public class DefaultUpArrowButtonSkin implements IButtonSkin
	{
		public function DefaultUpArrowButtonSkin()
		{
			
		}
		public function get downStateSkin():DisplayObject
		{
			if(GlobalSkinManager.opend){
				return null;
			}else{
				const r:Rect=new Rect(20,20,0x888888);
				return r;
			}
		}
		public function get overStateSkin():DisplayObject
		{
			if(GlobalSkinManager.opend){
				return null;
			}else{
				const r:Rect=new Rect(20,20,0xdddddd);
				return r;
			}
		}
		public function get upStateSkin():DisplayObject
		{
			if(GlobalSkinManager.opend){
				return null;
			}else{
				const r:Rect=new Rect(20,20,0xbbbbbb);
				return r;
			}
		}
	}
}